const { ccclass, property } = cc._decorator;
@ccclass("DATA")
class DATA {
  @property(cc.SpriteFrame)
  sp: cc.SpriteFrame = null;

  @property([DATA])
  dataArray: DATA[] = [];
}
@ccclass
export default class NewClass extends cc.Component {
  @property(cc.SpriteFrame)
  sp: cc.SpriteFrame = null;

  @property([cc.SpriteFrame])
  spArray: cc.SpriteFrame[] = [];

  @property(DATA)
  data: DATA = null;



  start() {
   
  }

  // update (dt) {}
}
